Skip to content

Conversation

@martijnrusschen
Copy link
Member

Replaces flushSync with a regular setState call when initializing the shadow root. This simplifies the effect and removes unnecessary synchronous state updates.


name: Pull Request
about: Create a pull request to improve this repository
title: ""
labels: ""
assignees: ""

Description

Linked issue: #(issue number)

Problem

Changes

Screenshots

To reviewers

Contribution checklist

  • I have followed the contributing guidelines.
  • I have added sufficient test coverage for my changes.
  • I have formatted my code with Prettier and checked for linting issues with ESLint for code readability.

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.21%. Comparing base (0b9c1e0) to head (1f3d68e).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6053      +/-   ##
==========================================
- Coverage   99.21%   99.21%   -0.01%     
==========================================
  Files          30       30              
  Lines        3582     3579       -3     
  Branches     1529     1509      -20     
==========================================
- Hits         3554     3551       -3     
  Misses         27       27              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Replaces flushSync with a regular setState call when initializing the shadow root. This simplifies the effect and removes unnecessary synchronous state updates.
@martijnrusschen martijnrusschen merged commit 877403c into main Nov 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants